package com.xdf.zipperdye.dao.business;

import com.xdf.zipperdye.model.OrderMain;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface OrderMainMapper {
    int deleteByPrimaryKey(Integer iid);

    int insert(OrderMain record);

    int insertSelective(OrderMain record);

    OrderMain selectByPrimaryKey(Integer iid);

    int updateByPrimaryKeySelective(OrderMain record);

    int updateByPrimaryKey(OrderMain record);

    List<OrderMain> selectByBillCode(@Param("billCode") String billCode);

    OrderMain getOrderMain8IdState(@Param("iid") Integer iid,@Param("state") Integer state);
}